<?php
namespace App\Cache;

use App\Di\DiAwareInterface;

class Redis implements BackendInterface, DiAwareInterface
{
    protected $_di;
    protected $_options;

    public function __construct ($options = null)
    {
        $this->_options = $options;
    }

    public function setDI ($di)
    {
        $this->_di = $di;
    }

    public function getDI ()
    {
    }

    public function find ($key, $lifetime)
    {
        return 1;
    }

    public function save ($key, $value, $lifetime)
    {
    }

    public function delete ($key)
    {
    }
}